package game.main;

import game.goods.*;
import game.role.Mon_GreenSlime;
import game.role.NPC_OldMan;

import static game.basic.GameBase.*;
import static game.basic.GameBase.monster;

public class AssetSetter {

    public void setObject() {
        int mapNum = 0;
        int i = 0;
        obj[mapNum][i] = new Obj_Door();
        obj[mapNum][i].worldX = tileSize * 12;
        obj[mapNum][i].worldY = tileSize * 12;
        i++;
        obj[mapNum][i] = new Obj_Door();
        obj[mapNum][i].worldX = tileSize * 10;
        obj[mapNum][i].worldY = tileSize * 28;
        i++;
        obj[mapNum][i] = new Obj_Door();
        obj[mapNum][i].worldX = tileSize * 21;
        obj[mapNum][i].worldY = tileSize * 22;
        i++;
        obj[mapNum][i] = new Obj_Key();
        obj[mapNum][i].worldX = tileSize * 37;
        obj[mapNum][i].worldY = tileSize * 41;

        i++;
        obj[mapNum][i] = new Obj_Key();
        obj[mapNum][i].worldX = tileSize * 25;
        obj[mapNum][i].worldY = tileSize * 23;

        i++;
        obj[mapNum][i] = new Obj_Key();
        obj[mapNum][i].worldX = tileSize * 21;
        obj[mapNum][i].worldY = tileSize * 19;

        i++;
        obj[mapNum][i] = new Obj_Axe();
        obj[mapNum][i].worldX = tileSize * 33;
        obj[mapNum][i].worldY = tileSize * 21;

        i++;
        obj[mapNum][i] = new Obj_Shield_Blue();
        obj[mapNum][i].worldX = tileSize * 35;
        obj[mapNum][i].worldY = tileSize * 21;

        i++;
        obj[mapNum][i] = new Obj_Potion_Red();
        obj[mapNum][i].worldX = tileSize * 22;
        obj[mapNum][i].worldY = tileSize * 27;
    }

    public void setNpc() {
        int mapNum = 0;
        int i = 0;
        npc[mapNum][i] = new NPC_OldMan();
        npc[mapNum][i].worldX = tileSize * 21;
        npc[mapNum][i].worldY = tileSize * 21;
    }

    public void setMonster() {
        int mapNum = 0;
        int i = 0;
        monster[mapNum][i] = new Mon_GreenSlime();
        monster[mapNum][i].worldX = tileSize * 21;
        monster[mapNum][i].worldY = tileSize * 36;
        i++;
        monster[mapNum][i] = new Mon_GreenSlime();
        monster[mapNum][i].worldX = tileSize * 21;
        monster[mapNum][i].worldY = tileSize * 37;
        i++;
        monster[mapNum][i] = new Mon_GreenSlime();
        monster[mapNum][i].worldX = tileSize * 24;
        monster[mapNum][i].worldY = tileSize * 37;
        i++;
        monster[mapNum][i] = new Mon_GreenSlime();
        monster[mapNum][i].worldX = tileSize * 34;
        monster[mapNum][i].worldY = tileSize * 43;
        i++;
        monster[mapNum][i] = new Mon_GreenSlime();
        monster[mapNum][i].worldX = tileSize * 38;
        monster[mapNum][i].worldY = tileSize * 42;
    }

}
